<%@ page contentType="text/html;charset=utf-8" %>
<%@page import="website.WebSiteAction"%>
<%
	WebSiteAction.getFirstColumn(request);
	WebSiteAction.getTopColumn(request);
%>

<div class="top">
	<div class="top_c">
		<!-- 公司的logo图标,样式为logo -->
		<div class=""><a href="${ctx}/frontpage/index.jsp"></a></div>
		
        <div class="tip">
            <div class="tipx">
            	<c:forEach items="${topColumnList}" var="topColumn"  >
            	<a href="${ctx}${topColumn.REMARK}">${topColumn.NAME}</a>
                </c:forEach>
            </div>
        </div>
        <div class="nav">
        
        	<!-- 第一层的栏目循环开始 -->
        	<c:forEach items="${firstColumnList}" var="column"  >
        	<div class="nav_a" style="background-image:url(${ctx}${column.MENU_IMAGE_PATH});">
        		<c:if test="${empty(column.URL) }">
        		<a href="${ctx}/frontpage/main.jsp?menuId=${column.ID}" style="width:100%;height:100%;display:block;"></a>
        		</c:if>
        		<c:if test="${not empty(column.URL) }">
            	<a href="${ctx}${column.URL}?menuId=${column.ID}" style="width:100%;height:100%;display:block;"></a>
            	</c:if>
            </div>
            </c:forEach>
            <!-- 第一层的栏目循环结束 -->
            
        </div>
    </div>
</div>